package com.haibara.codesubmiteval.common;

import java.io.Serial;
import java.io.Serializable;

import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * 统一删除请求
 */
@Data
public class DeleteRequest implements Serializable {

    /**
     * id
     */
    @NotNull(message = "删除的id不能为空")
    private Long id;

    @Serial
    private static final long serialVersionUID = 1L;
}